home *** CD-ROM | disk | FTP | other *** search
- Path: news.NetVision.net.il!news
- From: soulcage <soulcage@Netvision.net.il>
- Newsgroups: comp.lang.c
- Subject: windows c programming-localalloc.
- Date: Thu, 01 Feb 1996 23:40:03 +0200
- Organization: NetVision LTD.
- Message-ID: <31113333.7B7D@Netvision.net.il>
- NNTP-Posting-Host: ts4cp16.netvision.net.il
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b6a (Win95; I)
-
- i am programming c under windows 3.11
- i have used malloc to allocate bytes of memory.
- the program has terminated on protection fault.
- i have changed the usage instead of malloc,to localalloc and locallock
- from windows 3.11 SDK,
- i want to know the outcome of using localalloc,and globalalloc
- when shall i use any of them.,and is it matter that when i am compiling
- i get an informative message that the segment will be lost during
- conversion.
-
- tnx ahead.
-